跳到主要内容

biz.channels.{id}

查询指定渠道信息

  • 请求路由: biz.channels.{id}
  • 交互模型: Request Response
  • 访问限制: 无

请求​

RSocket.rr({
"route" : "CH1002"
});

请求参数​

名称类型必须说明
idString是渠道id

返回​

渠道信息

{
"crBy" : "admin@mzd",
"upBy" : "admin@mzd",
"crDate" : "2023-08-01T08:45:37.753Z",
"upDate" : "2023-08-01T08:46:09.070797Z",
"tenantId" : "mzd",
"id" : "CH1002",
"name" : "测试渠道",
"type" : "0",
"creditCode" : "11111111",
"mobile" : "18296888015",
"address" : "深南花园",
"state" : true,
"independentAccount" : { },
"principalInfo" : {
"principal" : "555@mzd",
"principalName" : "方",
"principalMobile" : "18296888015",
"certificateType" : 1,
"idNumber" : "88888888"
},
"bankAccounts" : { },
"attachments" : [ ]
}

返回属性​

名称类型说明
idString
nameString渠道名称
typeString渠道类型
creditCodeString信用代码
mobileString联系电话
addressString地址
stateBoolean是否启用
inviteCodeString邀请码
appointCompaniesString[]指定承运商
independentAccountObject分账设置信息
independentAccount.periodNumber分账周期:T+0、T+1、T+2、T+7、T+30(加几值为几,例:T+0 值为0)
independentAccount.suspensionOfDistributionBoolean暂停分账 true:暂停 false:可分账
independentAccount.settlementOfDriverChargesBoolean是否委托平台自动结算司机费用
independentAccount.acceptorTypeString分账对象
0 - 平台
1 - 渠道
independentAccount.independentAccountTypeString分账类型
0-比例
1-指定金额
independentAccount.independentAccountValueObject分账值,比例和金额都写三种币种信息
RMB
HKD
MOP
independentAccount.collectionAccountInformationObject收款账户信息
independentAccount.collectionAccountInformation.appIdString公众号appId
independentAccount.collectionAccountInformation.accountIdentificationString账户标识
independentAccount.collectionAccountInformation.nameString名字
independentAccount.collectionAccountInformation.typeString分账接收方类型
MERCHANT_ID:商户号
PERSONAL_OPENID:个人openid
discountInfoObject折扣信息
discountInfo.disableBoolean启用状态 true-禁用 false-启用
discountInfo.failureTimeString失效时间
discountInfo.busObject巴士折扣信息
discountInfo.bus.typeString折扣类型 0-比例 1-指定金额
discountInfo.bus.discountValueObject折扣值
RMB
HKD
MOP
discountInfo.ccObject包车折扣信息
discountInfo.cc.typeString折扣类型 0-比例 1-指定金额
discountInfo.cc.discountValueObject折扣值
RMB
HKD
MOP
discountInfo.scObject专线折扣信息
discountInfo.sc.typeString折扣类型 0-比例 1-指定金额
discountInfo.sc.discountValueObject折扣值
RMB
HKD
MOP
discountInfo.rsObject拼车折扣信息
discountInfo.rs.typeString折扣类型 0-比例 1-指定金额
discountInfo.rs.discountValueObject折扣值
RMB
HKD
MOP
principalInfoObject负责人信息
principalInfo.principalString负责人username
principalInfo.principalNameString负责人姓名
principalInfo.principalMobileString负责人电话
principalInfo.certificateTypeNumber证件类型
principalInfo.idNumberString证件号
bankAccountsObject开户行信息
bankAccounts.{key}.bankNumber开户银行 下拉选择
bankAccounts.{key}.accountNameString账户名称
bankAccounts.{key}.accountString银行账号
attachmentsObject[]附件
attachments.[].titleString附件标题
attachments.[].descriptionString附件说明
attachments.[].binaryIdString[]附件id
remarksString备注
bindingPeriodString绑定期限 0,1个月、6个月、1年(12:默认)、-1:永久
extraPropsObject扩展属性
crByString创建者
upByString最后修改者
crDateString创建时间
upDateString最后修改时间
tenantIdString租户ID

下载结果模型定义